package jee.boot.entity.bpm;

/**
 * Bpm静态常量
 */
public class BpmConstant {
    /**
     * 默认表别名
     */
    public static final String BPM_DEFAULT_TABLE_ALIAS = "a";
    /**
     * 是
     */
    public static final String SYS_YES = "Y";
    /**
     * 否
     */
    public static final String SYS_NO = "N";
    /**
     * 内部表
     */
    public static final String BPM_TABLE_EXTERNAL_INNER = "table_external_inner";
    /**
     * 外部表
     */
    public static final String BPM_TABLE_EXTERNAL_OUTER = "table_external_outer";
    /**
     * 数字
     */
    public static final String BPM_COLUMN_DATA_TYPE_NUMBER = "number";
    /**
     * 长文本
     */
    public static final String BPM_COLUMN_DATA_TYPE_LONGTEXT = "longtext";
    /**
     * 字符串
     */
    public static final String BPM_COLUMN_DATA_TYPE_STRING = "string";
    /**
     * 日期
     */
    public static final String BPM_COLUMN_DATA_TYPE_DATE = "date";
    /**
     * 文件
     */
    public static final String BPM_COLUMN_DATA_TYPE_FILE = "file";
    /**
     * 一对多
     */
    public static final String BPM_BUSINESS_TABLE_REL_TYPE_ONE_TO_MANY = "one_to_many";
    /**
     * 一对一
     */
    public static final String BPM_BUSINESS_TABLE_REL_TYPE_ONE_TO_ONE = "one_to_one";

    /**
     * 外键关联
     */
    public static final String BPM_BUSINESS_TABLE_REL_FK_TYPE_MAIN_FK = "join_fk";
    /**
     * 固定值
     */
    public static final String BPM_BUSINESS_TABLE_REL_FK_TYPE_FIXED_VALUE = "fixed_value";


    /**
     * 日期
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_DATE = "date";
    /**
     * 日期+时间
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_DATE_TIME = "datetime";
    /**
     * 邮箱
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_EMAIL = "email";
    /**
     * 数字
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_NUMBER = "number";
    /**
     * 数字+字母
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_NUMBER_LETTER = "number_letter";
    /**
     * 手机号码/电话号码
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_PHONE = "phone";
    /**
     * 必填
     */
    public static final String BPM_COLUMN_DATA_VALIDATION_REQUIRED = "required";
    /**
     * 字段控件-序列号
     */
    public static final String BPM_CONTROL_TYPE_SERIAL = "serial";
    /**
     * 字段控件-下拉列表
     */
    public static final String BPM_CONTROL_TYPE_SELECT = "select";
    /**
     * 字段控件-级联选择
     */
    public static final String BPM_CONTROL_TYPE_CASCADER = "cascader";


}
